<div class="ui-amp-container">
  <h2><?php echo $formTitle ?>
    <?php echo $actions->buildFormLinks() ?></h2>

  <?php $this->AmpForm->dataProvider = array($cap, 'get'); ?>

  <?php echo $this->AmpForm->form(array('onsubmit'=>'return $.userForm.validate();'),
    $this->AmpForm->text('name', __('Name').':', 'name', array('label'=>array('style'=>'width:80px;'))),
    $this->AmpForm->select('policy', __('Policy').':', $policy, 'policy', array('label'=>array('style'=>'width:80px;'))),
    $this->AmpForm->text('regex', __('Expression').':', 'regex', array('label'=>array('style'=>'width:80px;'))),
    $this->AmpForm->save()
  ) ?>

  <nav class="ui-amp-form-actions"><?php echo __('Actions') ?>: <?php echo $actions->buildFormActions($cap) ?></nav>
</div>